home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ WinXP Start Panel Visibility.xpl
< prev
next >
Wrap
Text File
|
2001-04-26
|
1KB
|
45 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Appearance\Desktop\Options"
"NAME"="Start Panel UI"
"LANGUAGE"="VBScript"
"TEXT 1"="Show Start Panel UI (Visible)"
"DESCRIPTION 1"="Specifies whether or not the Start Panel UI is visible in Windows XP."
"DESCRIPTION 2"="Default is checked. If you uncheck this, the Start Panel UI will not be displayed."
"COMMENT 1"="Found while exploring Windows XP's registry."
"VERSION"="1.01"
"AUTHOR"="CptSiskoX on behalf of Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"CONTACTURL"="about:mozilla"
"OSVERSION"="000001"
'Declaration of some constants
sP="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartPage\StartPanelUI_Visible"
'Called when the Plugin is started
SUB Plugin_Initialize
s=RegReadValue(sP)
if s=1 then
Call SetUIElement(1,true)
end if
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if s=true then
Call RegWriteValue(sP,1,2)
else
Call RegWriteValue(sP,0,2)
end if
END SUB
'Called when the Plugin is about to be removed from memory
SUB Plugin_Terminate
END SUB